import http from '@/utils/http'

export default {
    avatarUpdate:(data:HttpPayload.StudentAvatarUpdate) :Promise<{total:n}>=>http<HttpPayload.StudentAvatarUpdate,string>({url: '/student/avatarupdate',method:"post",data}),
    getList:(data:HttpPayload.StudentSearch):Promise<Array<HttpPayload.StudentAvatar>> =>http({url: '/student/list',method:"post",data}),
}